package com.javaAPI.demo3;

public class Test {
    public static void main(String[] args) {
        /*
        * char保存单个字符
        * String保存多个字符----字符串
        * String底层基于数组实现
        * JDK8基于char[]实现，JDK9基于byte[]数组实现
        * */
        String str = "huawei";
        System.out.println("String: " + str);
        char[] value = {'h','u','a','w','e','i'};
        System.out.println(value);
    }
}
